package com.itheima.strengthen.test02.service;

import com.itheima.strengthen.test02.dao.jiutongDao;
import com.itheima.strengthen.test02.domain.Cask;
import com.itheima.strengthen.test02.domain.Skills;

public class jiutongService {
    static jiutongDao jiutongDao = new jiutongDao();
    public Cask mpAttributeChange(Skills skills) {
        return jiutongDao.mpAtrributeChange(skills);
    }

    public void sendAtrribute(Cask jiuTong) {
        jiutongDao.sendAtrribute(jiuTong);
    }

    public Cask hpAtrributeChange(Skills skills) {
        return jiutongDao.hpAtrributeChange(skills);
    }

    public Cask hpAtrributeChange(double hAttack) {
        return jiutongDao.hpAtrributeChange(hAttack);
    }
}
